lib/repo: Add ostree_repo_traverse_commit_union_with_parents
authorAlexander Larsson <alexl@redhat.com>
Fri, 6 Apr 2018 13:37:45 +0000 (15:37 +0200)
committerAtomic Bot <atomic-devel@projectatomic.io>
Sat, 14 Apr 2018 15:36:21 +0000 (15:36 +0000)
commitf258e9e5ff25e5c814bb54e4eb27e34841e913e5
tree4a061ab337f1cc77fc6542206e5b130a4eec3c42
parentcdaf7cd8383af6f59a70a74d7c1467d8f7b536be
lib/repo: Add ostree_repo_traverse_commit_union_with_parents

This is a version of ostree_repo_traverse_commit_union that also
remembers where the objects came from, by recording the parent
relationships in a hashtable. This can be used to later find which
commits each object was from, which we want to use in fsck.

Closes: #1533
Approved by: cgwalters
apidoc/ostree-sections.txt
src/libostree/libostree-devel.sym
src/libostree/ostree-repo-traverse.c
src/libostree/ostree-repo.h